package com.zzl.bonds.ticket.dto.feign;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 金融机构
 *
 * @author hyt
 */
@Data
@ApidocModel
public class FinanceInstitutyEntity {

    @ApidocModelProperty(description = "主键")
    private String id;
    @ApidocModelProperty(description = "机构名称")
    private String instinctyName;
    @ApidocModelProperty(description = "机构代码")
    private String institutyCode;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @ApidocModelProperty(description = "创建人")
    private Integer creatorId;
    @ApidocModelProperty(description = "修改人")
    private Integer updaterId;
    @ApidocModelProperty(description = "备注")
    private String remark;
    @ApidocModelProperty(description = "类型0,银行，1.类金融机构")
    private Integer type;
    @ApidocModelProperty(description = "排序字段")
    private Integer sort;
    @ApidocModelProperty(description = "金融机构样式")
    private String itemStyle;

    @ApidocModelProperty(description = "is_delete")
    private Integer isDeleted;
    @ApidocModelProperty(description = "金融机构头像，base64格式")
    private String avatar;

    public static final String COL_ID = "id";

    public static final String COL_INSTINCTY_NAME = "instincty_name";

    public static final String COL_INSTITUTY_CODE = "instituty_code";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_CREATOR_ID = "creator_id";

    public static final String COL_UPDATER_ID = "updater_id";

    public static final String COL_REMARK = "remark";

    public static final String COL_TYPE = "type";

    public static final String COL_SORT = "sort";

    public static final String COL_IS_DELETE = "is_delete";
}